const router=require('koa-router')()
const user=require('../controller/user')
const baseConfig=require('../config/baseConfig')
/* GET users listing. */
router.post('/login',user.login);
router.post('/register',user.register);
router.get('/getToken',user.getUptoken);
router.post('/publish',user.publish);
router.get('/getCardList',user.getCardList);
router.post('/getChatInfo',user.getChatInfo);
router.post('/addAttention',user.addAttention);

module.exports = router;
